<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
    <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>维护记录详情</title>
<%@ include file="/WEB-INF/component/commonCSS.jsp"%>
<style type="text/css">
	.red {color:red}
	.text-left {color:#848484;}
.box-body {margin-top:-5px;}
</style>

</head>
<body class="skin-blue-light sidebar-mini fixed skin-blue-light-frame">
    <section class="content-header">
        <h1>详情</h1>
        <ol class="breadcrumb">
            <li><a href="${ctx}/home.jsp"><i class="fa fa-home"></i>首页</a></li>
            <li class="active"><a href="#">合同管理</a></li>
            <li class="active"><a href="#">合同维护记录管理</a></li>
            <li class="active"><a href="#">维护记录详情</a></li>
        </ol>
    </section>
    <section class="content">
     <table class="infoBox">
      <tr>
        <td width="120px" class="infoBoxleft">
        <p style="color:#fff;font-size:20px;text-align:center;font-weight:600">修改详情</p>
        </td>
        <td>
        	<form id="form" class="form-horizontal"  method="post">
            <input type="hidden" name=orgId value="${acctInfo.orgId}" />
                <div class="box-body" style="background:url('${ctx }/lib/img/infobg.png') no-repeat bottom right;">
                    <div class="form-group form-group-xs"  style="margin-top:10px;">
                      <label class="col-sm-2 text-right">本次修改时间：</label>
	                  <div class="col-sm-3 text-left"  >${ newContract.updDatetime }</div>
	                  <label class="col-sm-2 text-right">上次修改时间：</label>
                      <div class="col-sm-3 text-left">${ oldContract.updDatetime }</div>
                    </div>
                    
                    <div class="form-group form-group-xs" style="margin-top:-10px;margin-bottom:-10px;">
                    <label class="col-sm-2 text-right">本次修改人：</label>
	                <div class="col-sm-3 text-left">${ newContract.updUser }</div>
	                <label class="col-sm-2 text-right">上次修改人：</label>
	                <div class="col-sm-3 text-left" >${ oldContract.updUser }</div>
                    </div>
                </div>
             </form>
        </td>
      </tr>
      </table>
     <div class=" box box-success">
    <form role="form" class="form-horizontal" method="post">
	 <div class="box-body">
             <table class="comparison">
                       <tr>
                         <th></th>
                         <th>修改后</th>
                         <th>修改前</th>
                       </tr>
                       <tr class="no1">
                         <td class="title">合同名称</td>                         
                         <td>
                           <div  >
                           ${ newContract.contractTitle }
                           </div>
                         </td>
                         <td>
                           <div  >
                           ${ oldContract.contractTitle }
                           </div>
                         </td>
                       </tr>
                       <tr class="no2">
                         <td class="title">合同甲方</td>
                         <td>
                          <div  >
                        	${ newContract.contractPartyA }
                          </div>  
	                     </td>
	                     <td>
	                      <div  >
                            ${oldContract.contractPartyA  }
                          </div>
                         </td>
                       </tr>
                         <tr class="no1">
                         <td class="title">合同乙方</td>                         
                         <td>
                         <div  >
                          ${newContract.contractPartyB  }
                        </div>  
                         </td>
                         <td>
                           <div  >
                           ${oldContract.contractPartyB  }
                           </div>
                         </td>
                       </tr>
                       <tr class="no2">
                         <td class="title">审核人</td>
                         <td>
                         <div  >
                         ${newContract.status==1?"启用":"停用"}
                         </div>   
	                     </td>
                         <td>
                           <div  >
                           ${newContract.status==1?"启用":"停用"}
                           </div>
                         </td>
                       </tr>

                       <tr class="no1">
                         <td class="title">审核时间</td>                         
                         <td>
                         <div class="col-sm-8 text-left ${ newContract.auditDatetime != oldContract.auditDatetime ? 'red' : '' }">
                         ${newContract.auditDatetime}
                        </div>  
                         </td>
                         <td>
                           <div  >
                           ${oldContract.auditDatetime}
                           </div>
                         </td>
                       </tr>
                       <tr class="no2">
                         <td class="title">状态</td>
                         <td>
                         <div  >
                          ${newContract.auditStatus==1?"启用":"停用"}
                         </div>   
	                     </td>
                         <td>
                           <div  >
                           ${oldContract.auditStatus==1?"启用":"停用"}
                           </div>
                         </td>
                       </tr>
                       <tr class="no1">
                         <td class="title">合同内容</td>                         
                         <td>
                         <div  >
                         	${newContract.content}
                        </div>  
                         </td>
                         <td>
                           <div  >
                           ${oldContract.content }
                           </div>
                         </td>
                       </tr>
                    </table>
               </div> 
      </form> 
      <div class="box-footer text-center">
      <a href="javascript:history.go(-1)" class="btn btn-danger btn-sm">返&nbsp;回</a>
      </div>
    </div>

    </section>

</html>